import request from '@/utils/request';

/**
 *登录
 */
export async function fakeAccountLogin(params) {
  return request('/login', {
    method: 'POST',
    data: params,
  });
}

/**
 *退出
 */
export async function logoutAdmin(){
  return request('/logout')
}
export async function getFakeCaptcha(mobile) {
  return request(`/api/login/captcha?mobile=${mobile}`);
}
